home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_0799 / 630 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.5 KB

  1. From: Ulrich Kuehn <kuehn@GOEDEL.UNI-MUENSTER.DE>
  2. Subject: RE: XATTR structure for biosfs entries
  3. Date: Wed, 10 Nov 1993 10:45:32 +0100
  4.  
  5. Hello,
  6.  
  7. Torsten Scherer writes:
  8.  
  9. |> As the subject line says, I want to bring the topic of each "file"
  10. |> in the bios device directory /dev having ownership, filemodes and
  11. |> c/m/a-time fields, say, a complete XATTR structure, "on stage".
  12. |> [...]
  13. |> The problem is how to change mtime/atime for these drivers? Obviously
  14. |> the change is best made in the read/write calls, but the biosfs can't
  15. |> do it since it's not touched when an extra device driver does I/O. On
  16. |> the other hand side the device driver has only _direct_ access to the
  17. |> filepointer...
  18. |> 
  19.  
  20. I think the best way to do it would be a new Dcntl on /dev which allows
  21. the device driver to query the address of its supporting structure in
  22. the kernel memory. As the device driver run in the kernel's address space,
  23. there would be no problem with that. It would be backward compatible with
  24. older device drivers, they simply dont set the values as they dont know
  25. about it.
  26. And it should be fairly straight forward to do without messing with some
  27. dev or index members in some structures.
  28.  
  29. Regards,
  30. Ulrich
  31.  
  32. --
  33.  
  34. +---------------+----------------------------+-----------------------+
  35. | Ulrich Kuehn  | Internet:                  | Life is uncertain --  |
  36. | Cand.Math.Inf | kuehn@math.uni-muenster.de | eat the dessert first |
  37. +---------------+----------------------------+-----------------------+
  38.